<!-- 管理员界面 -->

<div class="layui-form" lay-filter="dept-add-form" style="padding: 20px 30px 0 0;">
	<div class="layui-form-item">
		<label class="layui-form-label">菜单名称</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="name"  lay-verify="required" placeholder="请输入用户名用户名" autocomplete="off" class="layui-input">
      </script>
		</div>
	</div>
	
	<div class="layui-form-item">
		<label class="layui-form-label">排序码</label>
		<div class="layui-input-inline">
			<script type="text/html" template>
				<input type="text" name="sortCode"  lay-verify="required" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
      </script>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">所属部门</label>
		<div class="layui-input-block">
		 <script type="text/html" template>
		 		<select name="parentId">
				<option value="0"></option>
					{{# layui.each(d.params, function(index, item){     }}
						<option value={{item.id}} >{{item.name}}</option>
					{{# });  }}
		 		</select>
		 </script>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label"></label>
		<div class="layui-input-inline">
			<input type="button" lay-submit lay-filter="LAY-dept-back-submit" value="确认" class="layui-btn">
		</div>
	</div>
</div>

<script>
	layui.use(['admin', 'form',"laytpl"], function() {
		var $ = layui.$,
			admin = layui.admin,
			setter = layui.setter,
			laytpl = layui.laytpl,
			form = layui.form;
	});
</script>